Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use find_program to find llvm-config #500

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

wenju-he
Copy link
Contributor

@wenju-he wenju-he commented Oct 30, 2023

llvm-config may have a different name in the default path, see #497.
On Ubuntu 22.04,

  • https://apt.llvm.org/llvm.sh installs llvm-config-{VERSION} to
    /usr/bin folder. It is a symlink to /usr/lib/llvm-{VERSION}/bin/llvm-config.
  • If latest llvm is built from source, the name is /usr/local/bin/llvm-config.

llvm-config may have a different name in the default path.
On Ubuntu 22.04,
* https://apt.llvm.org/llvm.sh installs llvm-config-18 to /usr/bin
  folder. It is an symlink to /usr/lib/llvm-18/bin/llvm-config
* If latest llvm is built from source, the name is /usr/local/bin/llvm-config
@wenju-he wenju-he merged commit 8304021 into intel:main Oct 31, 2023
2 checks passed
@wenju-he wenju-he deleted the main-find_program-llvm-config branch October 31, 2023 01:38
wenju-he added a commit to wenju-he/opencl-clang that referenced this pull request Oct 31, 2023
llvm-config may have a different name in the default path, see intel#497.
On Ubuntu 22.04,
* https://apt.llvm.org/llvm.sh installs llvm-config-{VERSION} to
  /usr/bin folder. It is a symlink to /usr/lib/llvm-{VERSION}/bin/llvm-config.
* If latest llvm is built from source, the name is /usr/local/bin/llvm-config.

(cherry picked from commit 8304021)
wenju-he added a commit to wenju-he/opencl-clang that referenced this pull request Oct 31, 2023
llvm-config may have a different name in the default path, see intel#497.
On Ubuntu 22.04,
* https://apt.llvm.org/llvm.sh installs llvm-config-{VERSION} to
  /usr/bin folder. It is a symlink to /usr/lib/llvm-{VERSION}/bin/llvm-config.
* If latest llvm is built from source, the name is /usr/local/bin/llvm-config.

(cherry picked from commit 8304021)
wenju-he added a commit that referenced this pull request Oct 31, 2023
llvm-config may have a different name in the default path, see #497.
On Ubuntu 22.04,
* https://apt.llvm.org/llvm.sh installs llvm-config-{VERSION} to
  /usr/bin folder. It is a symlink to /usr/lib/llvm-{VERSION}/bin/llvm-config.
* If llvm is built from source, the name is /usr/local/bin/llvm-config.

(cherry picked from commit 8304021)
wenju-he added a commit that referenced this pull request Oct 31, 2023
llvm-config may have a different name in the default path, see #497.
On Ubuntu 22.04,
* https://apt.llvm.org/llvm.sh installs llvm-config-{VERSION} to
  /usr/bin folder. It is a symlink to /usr/lib/llvm-{VERSION}/bin/llvm-config.
* If llvm is built from source, the name is /usr/local/bin/llvm-config.

(cherry picked from commit 8304021)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants